package com.huike.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author WBH
 * @time 2022-04-04
 * {
 *             "createBy":"admin",
 *             "createTime":"2021-11-19 17:21:14",
 *             "updateBy":null,
 *             "updateTime":null,
 *             "id":8437,
 *             "businessId":3392,
 *             "keyItems":"5,3",
 *             "keys":[
 *                 "师资",
 *                 "位置"
 *             ],
 *             "record":"1",
 *             "trackStatus":"1",
 *             "nextTime":"2021-11-27 12:00"
 *         }
 */

public class BizRecordVO {
    /** 任务id */
    private Long id;

    /** 商机id */
    private Long businessId;

    /** 沟通重点 */
    private String keyItems;

    /** 沟通纪要 */
    private String record;

    /** 跟进状态 */
    private String trackStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date nextTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createBy;

    private String updateBy;

    private String updateTime;

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public void setKeyItems(String keyItems) {
        this.keyItems = keyItems;
    }

    public void setRecord(String record) {
        this.record = record;
    }

    public void setTrackStatus(String trackStatus) {
        this.trackStatus = trackStatus;
    }

    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
   private List<String> keys =new ArrayList<>();

    public Long getId() {
        return id;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public String getKeyItems() {
        return keyItems;
    }

    public String getRecord() {
        return record;
    }

    public String getTrackStatus() {
        return trackStatus;
    }

    public Date getNextTime() {
        return nextTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public List<String> getKeys() {
        return keys;
    }

    public void setKeys(List<String> keys) {
        this.keys = keys;
    }
}
